package com.infoauto.opc.gateway.messages.util.serialize;

import java.util.List;


public interface ISerializer {
    byte[] serialize(Object o) throws SerializeException;

    <T> T deserialize(byte[] data, Class<T> tpl) throws SerializeException;

    <T> List<T> deserializeList(byte[] data, Class<?> elementClasses) throws SerializeException;
}
